package com.distributer.policy.service;

import com.distributer.policy.model.InsurancePolicy;

public interface InsurancePolicyService {

	public void addPolicy(InsurancePolicy insurancePolicy);
	
	public void updatePolicy(InsurancePolicy insurancePolicy);
	
	public InsurancePolicy getPolicyByJbPolicyNo(String jbPolicyNo);
	
	public void removePolicyFromCacheByJbPolicyNo(String jbPolicyNo);
	
	public void refreshInsrancePolicyCache(InsurancePolicy insurancePolicy);
	
	public InsurancePolicy findInrancePolicyFromCacheByJbPolicyNo(String jbPolicyNo);
}
